/*
 * Controller.h
 *
 *  Created on: 28 août 2014
 *      Author: Raphaël
 */

#ifndef CONTROLLER_H_
#define CONTROLLER_H_

#include <memory>
#include <QObject>

class QAbstractItemModel;
class View;

class Controller : public QObject
    {
private:
    std::shared_ptr<View> m_ptrView;
    std::shared_ptr<QAbstractItemModel> m_ptrModel;

public:
    Controller() = delete;
    Controller
	(
	View*,
	QAbstractItemModel*,
	QObject * = nullptr
	);
    virtual ~Controller();
    };

#endif /* CONTROLLER_H_ */
